package com.wolves.career.service;

import com.wolves.career.entity.UserPermissionsAuthorization;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 麦翔盛
 * @since 2021-10-19
 */
public interface UserPermissionsAuthorizationService extends IService<UserPermissionsAuthorization> {
    /**
     * 判断该授权是否存在
     * @param accountId 维护人员id
     * @param permissionsId 权限id
     * @return 如果存在就返回true，如果不存在就返回false
     */
    public boolean existAuthorization(String accountId,String permissionsId);

}
